LATEX2HTML=latex2html
GENERAL_OPTIONS=-iso_language CN -html_version 4.0,unicode -nofootnode
TARGETS=sem.html

UNDERCONSTRUCTION="Semaphore -- 信号量"
INDEX_TITLE=$(UNDERCONSTRUCTION)
INDEX_OPTIONS=-t $(INDEX_TITLE) -no_subdir

sem.html:sem.tex
	$(LATEX2HTML) $(GENERAL_OPTIONS) -nonavigation -noinfo $(INDEX_OPTIONS) $<

release:
	rm -f *.
clean:
	rm -rf $(TARGETS)